package com.mairuide.bill.methodsanalysis.bszjzy.pojo;

import com.mairuide._frame.utils.excel.annotation.ExcelAttribute;
import com.mairuide._frame.utils.excel.annotation.ExcelAttributeHandle;

import java.io.Serializable;

/**
 * @Description
 * @auther 刘中华
 * @create 2019-06-03 14:29
 * 伴随资金转移
 */
public class BszizyEntity implements Serializable {
    //交易主体
    @ExcelAttribute(name = "交易主体",sort = 0)
    private String ACCOUNT_BODY;
    //交易主体卡号
    @ExcelAttribute(name = "交易主体卡号",sort = 1)
    private String ACCOUNT_BODY_CARD;
    //交易对手卡号
    @ExcelAttribute(name = "交易对手卡号",sort = 2)
    private String ACCOUNT_RIVAL_CARD;
    //交易对手
    @ExcelAttribute(name = "交易对手",sort = 3)
    private String ACCOUNT_RIVAL;
    //交易对手归属行
    @ExcelAttribute(name = "交易对手归属行",sort = 4)
    private String ACCOUNT_RIVAL_BANK;
    //不同日期交易次数
    @ExcelAttribute(name = "交易次数",sort = 5)
    private Integer TRADE_COUNT;
    //交易次数
    @ExcelAttribute(name = "交易次数",sort = 6)
    private Integer COUNT;
    //交易总金额
    @ExcelAttribute(name = "交易总金额",sort = 7)
    private String TRADE_TOTAL_MONEY;
    //收付标志
    @ExcelAttribute(name = "收付标志",sort = 8 ,format = ExcelAttributeHandle.SIGN)
    private Integer SIGN;

    private String minTime;
    private String maxTime;
    private String ACCOUNT_RIVAL_CARD2;
    private String ACCOUNT_RIVAL2;

    public String getACCOUNT_BODY() {
        return ACCOUNT_BODY;
    }

    public void setACCOUNT_BODY(String ACCOUNT_BODY) {
        this.ACCOUNT_BODY = ACCOUNT_BODY;
    }

    public String getACCOUNT_BODY_CARD() {
        return ACCOUNT_BODY_CARD;
    }

    public void setACCOUNT_BODY_CARD(String ACCOUNT_BODY_CARD) {
        this.ACCOUNT_BODY_CARD = ACCOUNT_BODY_CARD;
    }

    public String getACCOUNT_RIVAL_CARD() {
        return ACCOUNT_RIVAL_CARD;
    }

    public void setACCOUNT_RIVAL_CARD(String ACCOUNT_RIVAL_CARD) {
        this.ACCOUNT_RIVAL_CARD = ACCOUNT_RIVAL_CARD;
    }

    public String getACCOUNT_RIVAL() {
        return ACCOUNT_RIVAL;
    }

    public void setACCOUNT_RIVAL(String ACCOUNT_RIVAL) {
        this.ACCOUNT_RIVAL = ACCOUNT_RIVAL;
    }

    public String getACCOUNT_RIVAL_BANK() {
        return ACCOUNT_RIVAL_BANK;
    }

    public void setACCOUNT_RIVAL_BANK(String ACCOUNT_RIVAL_BANK) {
        this.ACCOUNT_RIVAL_BANK = ACCOUNT_RIVAL_BANK;
    }

    public Integer getTRADE_COUNT() {
        return TRADE_COUNT;
    }

    public void setTRADE_COUNT(Integer TRADE_COUNT) {
        this.TRADE_COUNT = TRADE_COUNT;
    }

    public String getTRADE_TOTAL_MONEY() {
        return TRADE_TOTAL_MONEY;
    }

    public void setTRADE_TOTAL_MONEY(String TRADE_TOTAL_MONEY) {
        this.TRADE_TOTAL_MONEY = TRADE_TOTAL_MONEY;
    }

    public Integer getSIGN() {
        return SIGN;
    }

    public void setSIGN(Integer SIGN) {
        this.SIGN = SIGN;
    }

    public Integer getCOUNT() {
        return COUNT;
    }

    public void setCOUNT(Integer COUNT) {
        this.COUNT = COUNT;
    }

    @Override
    public String toString() {
        return "BszizyEntity{" +
                "ACCOUNT_BODY='" + ACCOUNT_BODY + '\'' +
                ", ACCOUNT_BODY_CARD='" + ACCOUNT_BODY_CARD + '\'' +
                ", ACCOUNT_RIVAL_CARD='" + ACCOUNT_RIVAL_CARD + '\'' +
                ", ACCOUNT_RIVAL='" + ACCOUNT_RIVAL + '\'' +
                ", ACCOUNT_RIVAL_BANK='" + ACCOUNT_RIVAL_BANK + '\'' +
                '}';
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (!(o instanceof BszizyEntity)) return false;

        BszizyEntity that = (BszizyEntity) o;

        if (!ACCOUNT_BODY.equals(that.ACCOUNT_BODY)) return false;
        if (!ACCOUNT_BODY_CARD.equals(that.ACCOUNT_BODY_CARD)) return false;
        if (!ACCOUNT_RIVAL_CARD.equals(that.ACCOUNT_RIVAL_CARD)) return false;
        if (!ACCOUNT_RIVAL.equals(that.ACCOUNT_RIVAL)) return false;
        return ACCOUNT_RIVAL_BANK.equals(that.ACCOUNT_RIVAL_BANK);
    }

    @Override
    public int hashCode() {
        int result = ACCOUNT_BODY.hashCode();
        result = 31 * result + ACCOUNT_BODY_CARD.hashCode();
        result = 31 * result + ACCOUNT_RIVAL_CARD.hashCode();
        result = 31 * result + ACCOUNT_RIVAL.hashCode();
        result = 31 * result + ACCOUNT_RIVAL_BANK.hashCode();
        return result;
    }

    public String getMinTime() {
        return minTime;
    }

    public void setMinTime(String minTime) {
        this.minTime = minTime;
    }

    public String getMaxTime() {
        return maxTime;
    }

    public void setMaxTime(String maxTime) {
        this.maxTime = maxTime;
    }

    public String getACCOUNT_RIVAL_CARD2() {
        return ACCOUNT_RIVAL_CARD2;
    }

    public void setACCOUNT_RIVAL_CARD2(String ACCOUNT_RIVAL_CARD2) {
        this.ACCOUNT_RIVAL_CARD2 = ACCOUNT_RIVAL_CARD2;
    }

    public String getACCOUNT_RIVAL2() {
        return ACCOUNT_RIVAL2;
    }

    public void setACCOUNT_RIVAL2(String ACCOUNT_RIVAL2) {
        this.ACCOUNT_RIVAL2 = ACCOUNT_RIVAL2;
    }
}
